package com.team.abs.service;

import java.sql.Timestamp;
import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.team.abs.dao.userdao;
import com.team.abs.entity.User;
import com.team.abs.entity.usershow;
//注册的业务层
@Service
public class userservice implements userdao{
	@Autowired
	private userdao user;
	@Override
	public int inserUser(User user) {
	return this.user.inserUser(user);
	}
	@Override
	public int updateUser(User user) {
	return this.user.updateUser(user);
	}
	@Override
	public List<usershow> search_by_uid(String uid) {
		
		return this.user.search_by_uid(uid);
	}
}
